package com.lry.service;

import com.lry.entity.*;

public interface RaftConsensusService {

    VoteResponse requestVote(VoteRequest voteRequest);

    AppendEntriesResponse appendEntries(AppendEntriesRequest appendEntriesRequest);

    AppendEntriesResponse get(AppendEntriesRequest appendEntriesRequest);
}
